/* ===== Design tokens ===== */
:root{
    --blue:#8BC4F9;          /* Isblå */
    --blue-dark:#1F7FB0;     /* Mørk isblå */
    --yellow:#FFCC00;        /* CAT-gul */
    --yellow-light:#FFE066;  /* Lys gul */
    --gray:#E6E9ED;          /* Kold grå */
    --ink:#0E2A38;           /* Mørk neutral til tekst */
    --white:#FFFFFF;
    --radius:0;              /* Hårde kanter */
    --gap:18px;              /* Fast og ren spacing */
    --shadow:0 4px 0 rgba(31,127,176,0.15); /* kantet skygge */
    --font: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}
html,body{height:100%}
body{
    margin:0; font-family:var(--font); color:var(--ink); background:var(--white);
    line-height:1.5; letter-spacing:.2px;
}
/* ===== Layout helpers ===== */
.container{
    max-width:1100px; 
    margin:0 auto; 
    padding:0 20px
}

.grid{
    display:grid; 
    gap:var(--gap)
}

.grid-3{
    grid-template-columns: repeat(3, 1fr)
}

.grid-2{
    grid-template-columns: repeat(2, 1fr)
}

@media (max-width:900px){
    .grid-3,.grid-2 {
        grid-template-columns:1fr
    }
}

/* ===== Topbar ===== */
.topbar {
  background: var(--blue);
  border-bottom: 6px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 100;
}



.topbar-inner{
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
    padding:14px 0
}

.brand{
    display:flex; 
    align-items:center; 
    gap:10px; 
    text-decoration:none
}

.logo {
  width: 40px;
  height: 40px;
  background-image: url("images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


.wordmark{
    font-weight:900; 
    letter-spacing:.5px; 
    color:var(--ink); 
    text-transform:uppercase
}

.nav a{
    color:var(--ink); 
    text-decoration:none; 
    font-weight:600; 
    margin-left:18px; 
    padding:6px 8px; 
    border:2px solid transparent
}

.nav a:focus{
    outline:none; 
    border-color:var(--ink)
}

/* ===== Hero ===== */
.hero{
    background:var(--blue); 
    color:var(--ink); 
    padding:60px 0; 
    border-bottom:6px solid var(--yellow)
}

.hero .badge{
    display:inline-block; 
    background:var(--yellow); 
    color:var(--ink); 
    padding:6px 10px; 
    font-weight:800; 
    border:3px solid var(--ink); 
    box-shadow:var(--shadow)
}

.hero h1{
    font-size:clamp(28px,4vw,44px); 
    margin:16px 0 10px; font-weight:900; 
    text-transform:uppercase; 
    letter-spacing:.6px
}

.hero p{
    max-width:760px; 
    font-size:18px
}

.cta-row{
    display:flex; 
    gap:var(--gap); 
    margin-top:20px; 
    flex-wrap:wrap
}

.btn{
    display:inline-block; 
    padding:12px 16px; 
    font-weight:800; 
    text-decoration:none; 
    text-transform:uppercase; 
    letter-spacing:.6px; 
    border:3px solid var(--ink); 
    box-shadow:var(--shadow)
}

.btn-primary{background
    :var(--yellow); 
    color:var(--ink)
}

.btn-primary:hover{
    background:var(--yellow-light)
}

.btn-outline{
    background:var(--white); 
    color:var(--ink)
}

/* ===== Panels / Cards ===== */
.panel{
    background:var(--white); 
    border:3px solid var(--ink); 
    box-shadow:var(--shadow); 
    padding:22px
}

.panel h3{
    margin-top:0; 
    text-transform:uppercase; 
    font-weight:900
}


.reveal {
opacity: 0;
transform: translateY(12px) scale(.96);
will-change: transform, opacity;
}

.reveal.is-revealed {
animation: pop-in 480ms cubic-bezier(.2,.8,.2,1) both;
animation-delay: var(--delay, 0ms); /* optional per-item delay */
}


@keyframes pop-in {
0%   { opacity: 0; transform: translateY(12px) scale(.92); filter: blur(.5px); }
60%  { opacity: 1; transform: translateY(0)    scale(1.02); }
100% { opacity: 1; transform: translateY(0)    scale(1);    filter: none; }
}


/* ===== Section: Services ===== */
.section{
    padding:60px 0
}

.section h2{
    font-size:26px; 
    margin:0 0 16px; 
    text-transform:uppercase; 
    letter-spacing:.6px
}

.services .panel{
    border-color:var(--ink)
}

/* ===== Process ===== */
.process-step{
    display:flex; 
    gap:16px; 
    align-items:flex-start
}

.step-no{
    min-width:46px; 
    height:46px; 
    display:grid; 
    place-items:center; 
    background:var(--yellow); 
    font-weight:900; 
    border:3px solid var(--ink)
}    

/* ===== Proof/Stats strip ===== */
.strip{
    background:var(--gray); 
    border-top:4px solid var(--blue-dark); 
    border-bottom:4px solid var(--blue-dark); 
    padding:26px 0
}

.strip-items{
    display:grid; 
    gap:var(--gap); 
    grid-template-columns: repeat(4, 1fr)
}

.strip .item{
    background:var(--white); 
    border:3px solid var(--ink); 
    text-align:center; 
    padding:14px; 
    font-weight:800
}

@media (max-width:900px){
    .strip-items{
        grid-template-columns:1fr 1fr
    }
}

@media (max-width:540px){
    .strip-items{
        grid-template-columns:1fr
    }
}


/* ===== Footer ===== */
footer{
    background:var(--ink); 
    color:var(--white); 
    padding:32px 0; 
    border-top:6px solid var(--yellow)
}

footer a{
    color:var(--yellow)
}

/* ===== Accessibility helpers ===== */
.sr-only{
    position:absolute; 
    width:1px; 
    height:1px; 
    padding:0; 
    margin:-1px; 
    overflow:hidden; 
    clip:rect(0,0,0,0); 
    border:0
}
